package com.hqyj.zss.dao;

import com.hqyj.zss.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeDao {

    //获取全部员工
    List<Employee> queryAllEmployee(@Param("e_name") String e_name);

    //新增员工
    int addEmployee(Employee employee);

    //修改员工信息
    int updateEmployee(Employee employee);

    //根据id查询员工信息
    Employee queryOneEmployee(int e_id);

    //删除员工
    int deleteEmployee(int e_id);

}
